package com.financing.platform.dao;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.platform.dto.SourceProductDTO;

public interface ISourceProductDao extends IBaseDao {
	
	/**
	 * 
	* @Title: addSourceProduct 
	* @Description: 产品绑定来源
	* @return int   
	* @throws
	 */
	public int addSourceProduct(SourceProductDTO sourceProduct) throws SQLException;
	
	/**
	 * 
	* @Title: deleteSourceProduct 
	* @Description: 删除产品绑定来源
	* @return int   
	* @throws
	 */
	public int deleteSourceProduct(SourceProductDTO sourceProduct) throws SQLException ;
	
	/**
	 * 
	
	* @Title: querySourceProduct
	
	* @Description: 查询
	
	* @param @param sourceProduct
	* @param @return
	* @param @throws SQLException    设定文件
	
	* @return int    返回类型
	
	* @throws
	 */
	public List<Map<String, String>> querySourceProduct(SourceProductDTO sourceProduct) throws SQLException;
	
}
